package com.example.dblibrary.database;




import android.arch.persistence.room.Database;
import android.arch.persistence.room.RoomDatabase;
import android.arch.persistence.room.TypeConverters;

import com.example.dblibrary.database.daos.SingerDao;
import com.example.dblibrary.database.daos.SongDao;
import com.example.dblibrary.database.entities.Singer;
import com.example.dblibrary.database.entities.Song;


@Database(entities = {Singer.class, Song.class}, version = 2, exportSchema = false)
@TypeConverters({Converters.class})
public abstract class AppDatabase extends RoomDatabase {

    public static final String table_singer = "T_BDSM_SINGER";
    public static final String table_song = "T_BDSM_SONGS";
    public static final String table_song_type = "T_BDSM_TYPE";
    public static final String table_song_language = "T_BDSM_LANGUAGE";

    public abstract SingerDao singerDao();

    public abstract SongDao songDao();
}
